//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02A
TN_Widget.CreateTable([['The Bellamy Brothers','Charles Bailey Theatre','Trail, Canada','Tuesday','4/30/2024','7:30 PM','6360825','The-Bellamy-Brothers-4-30-2024'],['The Bellamy Brothers','Vernon and District Performing Arts Centre','Vernon, Canada','Wednesday','5/1/2024','7:30 PM','6160625','The-Bellamy-Brothers-5-1-2024'],['The Bellamy Brothers','Clarke Theatre Foundation','Mission, Canada','Thursday','5/2/2024','7:00 PM','6360824','The-Bellamy-Brothers-5-2-2024'],['The Bellamy Brothers','Pend Oreille Pavilion At Northern Quest Resort & Casino','Airway Heights, WA','Friday','5/3/2024','7:30 PM','5982308','The-Bellamy-Brothers-5-3-2024'],['The Bellamy Brothers','The Post OG','Orange Grove, TX','Friday','5/10/2024','8:00 PM','6035332','The-Bellamy-Brothers-5-10-2024'],['Opry Country Classics','Grand Ole Opry House','Nashville, TN','Thursday','5/16/2024','7:00 PM','6275186','Opry-Country-Classics-5-16-2024'],['The Bellamy Brothers & Gene Watson','Sugar Creek Casino','Hinton, OK','Saturday','5/18/2024','7:00 PM','6361899','The-Bellamy-Brothers---Gene-Watson-5-18-2024'],['The Bellamy Brothers','Longhorn Ballroom','Dallas, TX','Sunday','6/2/2024','8:00 PM','6376239','The-Bellamy-Brothers-6-2-2024'],['The Bellamy Brothers','Kentucky Opry','Benton, KY','Saturday','6/8/2024','7:00 PM','6368239','The-Bellamy-Brothers-6-8-2024'],['The Bellamy Brothers','Logan High School Theater','Logan, UT','Friday','6/21/2024','7:00 PM','6296736','The-Bellamy-Brothers-6-21-2024'],['The Bellamy Brothers','John T. Floore Country Store','Helotes, TX','Friday','6/28/2024','8:30 PM','6214143','The-Bellamy-Brothers-6-28-2024'],['The Bellamy Brothers','The Newberry','Great Falls, MT','Friday','8/9/2024','7:30 PM','6278598','The-Bellamy-Brothers-8-9-2024'],['Gene Watson & The Bellamy Brothers','Anderson Music Hall','Hiawassee, GA','Friday','8/16/2024','7:00 PM','6295733','Gene-Watson---The-Bellamy-Brothers-8-16-2024'],['The Bellamy Brothers','Andy Griffith Playhouse','Mount Airy, NC','Sunday','9/22/2024','3:00 PM','6368246','The-Bellamy-Brothers-9-22-2024'],['The Bellamy Brothers','Arlington Music Hall','Arlington, TX','Friday','9/27/2024','8:00 PM','6033139','The-Bellamy-Brothers-9-27-2024'],['The Bellamy Brothers','The Stockyard','Holiday, FL','Friday','10/4/2024','7:00 PM','6332688','The-Bellamy-Brothers-10-4-2024'],['The Bellamy Brothers','The Mansion - MO','Branson, MO','Friday','10/25/2024','8:00 PM','6228924','The-Bellamy-Brothers-10-25-2024'],['The Bellamy Brothers','The Reidsville Showcase Theater - NC','Reidsville, NC','Friday','11/8/2024','8:00 PM','6208799','The-Bellamy-Brothers-11-8-2024'],['The Bellamy Brothers','The Mansion - MO','Branson, MO','Friday','11/22/2024','8:00 PM','6228925','The-Bellamy-Brothers-11-22-2024'],['The Bellamy Brothers','The Showroom At the Golden Nugget','Las Vegas, NV','Thursday','12/12/2024','10:00 PM','6408724','The-Bellamy-Brothers-12-12-2024']],'The Bellamy Brothers','http://www.ticketnetwork.com/ticket/The-Bellamy-Brothers-events.aspx');